export const TABLE_COLUMNS = [
  {
    title: 'SPU编码',
    key: 'spuNo',
    fixed: 'left',
  },
  {
    title: 'SKU编码',
    key: 'skuNo',
  },
  {
    title: '商品名称',
    key: 'productName',
  },
  {
    title: '规格',
    key: 'specDetail',
  },
  {
    title: '主计量名称',
    key: 'unitName'
  },
  {
    title: '主计量单位小数位',
    render: (h, { row }) => {
      return <el-input-number
        value={row.unitDecimals}
        max={3}
        min={0}
        precision={0}
        onChange={(val) => { row.unitDecimals = val; }}
      />
    }
  },
];
